<?php

namespace App\Winged\Tenants;

class TenantMock extends AbstractTenant
{
    public function getConfig( $tenantName ) : array
    {
        return (array) config("winged.tenants." . $tenantName );
    }

    public function setProtype( $config )
    {
        foreach ($config as $key => $val){
            $this->{$key} = $val ;
        }
        $this->logo = $this->repository . $this->logo;
        $this->logoMini = $this->repository . $this->logoMini; 
        $this->logoLarge = $this->repository . $this->logoLarge;
        $this->admin_background = $this->repository . $this->admin_background;
    }
}
